package com.yoda.mall.admin.service;

import com.yoda.mall.api.CompanyAddressApi;
import com.yoda.mall.model.entity.oms.CompanyAddress;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author shawn
 * @date 2022年 12月 18日 21:58
 */

@Service
public class CompanyAddressService {


    @DubboReference
    private CompanyAddressApi companyAddressApi;

    public List<CompanyAddress> getAllCompanyAddress() {
        return companyAddressApi.getAllCompanyAddress();
    }
}
